import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);

export default new VueRouter({
  routes: [
    {
      /*
      * 用户登录
      * */
      path: "/login",
      name: "login",
      meta: { index: 1 },
      component: () => import("@/views/login/login")
    }
  ]
});
